package com.biz.primus.ms.depot.trans;

import com.biz.primus.common.utils.CopyUtils;
import com.biz.primus.model.depot.vo.DepotDeliverPriceRespVo;
import com.biz.primus.ms.depot.dao.po.DepotDeliverPrice;
import com.google.common.base.Function;

/**
 * DepotDeliverPrice2DetailVo
 *
 * @author JKLiues
 * @date 2017年10月23日
 */
public class DepotDeliverPrice2RespVo implements Function<DepotDeliverPrice, DepotDeliverPriceRespVo> {
    @Override
    public DepotDeliverPriceRespVo apply(DepotDeliverPrice input) {
        if (input == null) {
            return new DepotDeliverPriceRespVo();
        }
        DepotDeliverPriceRespVo vo = new DepotDeliverPriceRespVo();
        CopyUtils.copyProperties(input, vo);
        return vo;
    }
}